package org.gap.wizards.world;

import java.awt.Point;
import java.io.IOException;

import org.gap.wizards.utils.Persistence;
import org.gap.wizards.views.ViewPlatform;
import org.gap.wizards.world.actions.Factory;

public interface MapContainer {

	void addMap(String id, Location map);
	void startWithMap(String string);

	void move(Movement move);
	void draw(ViewPlatform console);

	String mapId();

	void addAutoTransition(String string, Point point, String string2, Point point2);
	void performTransition(String string, Point point);

	void perform(Factory action);

	Location activeMap();

	void persist(Persistence persister) throws IOException;
	boolean load(Persistence persister) throws IOException;

}
